package com.ktjy.dao.impl;

import com.ktjy.dao.NewsDao;
import com.ktjy.pojo.News;
import org.apache.log4j.Logger;

public class NewsDaoImpl implements NewsDao {
    private Logger logger = Logger.getLogger(NewsDaoImpl.class);
    @Override
    public void save(News news) {
        System.out.println(news.getNcontent()+"     "+news.getNtitle());
        logger.debug("保存新闻");
    }
}
